<template>
	<view :style="themeColor">
		<view class="page">
			<view class="flex align-stretch benben-position-layout flex recommendCommodityList_flex_0"
				:style="{height:(88+StatusBarRpx)+'rpx',paddingTop:StatusBarRpx+'rpx', }">
				<view class='flex align-center justify-between recommendCommodityList_fd0_0'>
					<view class='flex align-center' @tap.stop="handleJumpDiy" data-type="back" data-url="1">
						<text class='fu-iconfont2  recommendCommodityList_fd0_0_c0_c0'>&#xE794;</text>
					</view>
					<view style="font-size: 36rpx;font-weight: 500;color: #fff;">课程详情</view>
					<view class="recommendCommodityList_fd0_0_c0_c0"></view>
				</view>
			</view>
			<!-- <view :style="{height: (88+StatusBarRpx)+'rpx'}"></view> -->
			<view class="loading_css" v-if="isShow">
				<u-loading size="36" color="#F35D2A"></u-loading>
				<view>加载中</view>
			</view>
			<block v-else>
				<view style="position: relative;">
					<swiper ref="benbenSwiperfd1_0" @change="swiperIndex = $event.detail.current"
						class='flex position-relative index_fd1_0' previous-margin="0rpx" next-margin="0rpx"
						:display-multiple-items="1" :interval="5000" :duration="500" :autoplay='false'
						:circular='false'>
						<swiper-item class='flex  index_fd1_0' v-for="(item, index) in swiperList" :key="index">
							<image @tap.stop="previewImage(index, swiperList)" class='index_fd1_0' mode="aspectFill" :src='item'></image>
						</swiper-item>
					</swiper>
					<view class="swiper_num">
						<text class="swiper_num_1">{{swiperIndex}}</text>
						<text class="swiper_num_2">/{{swiperList.length}}</text>
					</view>
				</view>
				<view class="course_title">
					<view class="course_title_1">{{detailsInfo.name}}</view>
					<view class="course_label" v-if="label.length > 0">
						<view class="course_label_item" v-for="(v, k) in label" :key="k">{{v}}</view>
					</view>
				</view>
				<view style="background: #fff;padding: 0 32rpx 32rpx;">
					<view class='flex align-center justify-between shoppingCartSettlement_fd2_0_c3_c4'>
						<view class="flex align-center">
							<image style="width: 24rpx;height: 24rpx;margin-right: 10rpx;" :src='STATIC_URL+"283.png"' mode=""></image>
							<text style="color: #666;font-size: 22rpx;">{{detailsInfo.class_time}}</text>
						</view>
						<view class="flex align-center" v-if="detailsInfo.price != 0">
							<text class='shoppingCartSettlement_fd2_0_c3_c4_c1'>￥</text>
							<view class='shoppingCartSettlement_fd2_0_c3_c4_c2'>
								<text class=' shoppingCartSettlement_price1_fd2_0_c3_c4_c2'>{{ detailsInfo.price | frontPrice }}</text>
								<text class=' shoppingCartSettlement_price2_fd2_0_c3_c4_c2'>{{ detailsInfo.price | laterPrice }}</text>
							</view>
						</view>
					</view>
				</view>
				
				<template v-if="data_type == 2 && detailsInfo.course_type == 3">
					<view class="evaluate_title" style="border: 0;" @tap.stop="handleJumpDiy" data-type="navigateTo" :data-url="`/pages/shouye/oneAppointment/coachList?aid=${aid}`">
						<view class="evaluate_title_left">
							<view class="evaluate_title_left_1"></view>
							<view class="evaluate_title_left_2">教练</view>
						</view>
						<view class="evaluate_title_right">
							<text>选择教练</text>
							<u-icon name="arrow-right" color="#666" size="24"></u-icon>
						</view>
					</view>
				</template>
				<template v-if="data_type == 2 && (detailsInfo.course_type == 1 || detailsInfo.course_type == 2)">
					<view class="evaluate_title" style="border: 0;">
						<view class="evaluate_title_left">
							<view class="evaluate_title_left_1"></view>
							<view class="evaluate_title_left_2">教练</view>
						</view>
						<view class="evaluate_title_right">
						</view>
					</view>
				</template>
				
				<view class="coach_list">
					<view class="coach_item">
						<view class="coach_view">
							<view class="course_item_left">
								<image :src='staff_info.image' mode="aspectFill"></image>
							</view>
							<view class="course_item_right">
								<view class="course_item_right_1">
									<view class="coach_name">{{staff_info.name}}</view>
									<u-rate :disabled="true" :count="5" v-model="staff_info.stars" active-color="#FC5830" inactive-color="#C1C1C1" gutter="0" size="20" inactive-icon="star-fill"></u-rate>
								</view>
								<view class="course_item_right_2" v-if="staff_info.label.length > 0">
									<view class="course_item_right_2_1" v-for="(v, k) in staff_info.label" :key="k">
										{{v}}
									</view>
								</view>
							</view>
						</view>
					</view>
				</view>
				<!-- 推荐私教课显示 -->
				<template v-if="data_type == 2 && detailsInfo.course_type == 3">
					<view class="evaluate_title" style="margin: 0;border: 0;" @tap.stop="handleJumpDiy" data-type="navigateTo" :data-url="`/pages/shouye/oneAppointment/coachCourseList?staff_id=${detailsInfo.staff_id}`">
						<view class="evaluate_title_left">
							<view class="evaluate_title_left_3">教练相关课程</view>
						</view>
						<view class="evaluate_title_right">
							<text>查看全部</text>
							<u-icon name="arrow-right" color="#666" size="24"></u-icon>
						</view>
					</view>
					<view style="background: #fff;padding: 24rpx;margin-top: -36rpx;">
						<template v-for="(item,index) in coachCourse">
							<recommend :item="item" :index="index"></recommend>
						</template>
					</view>
				</template>
				
				<view class="evaluate_title" @tap.stop="handleJumpDiy" data-type="navigateTo"
					:data-url="`/pages/shouye/oneAppointment/evaluate?aid=${aid}`">
					<view class="evaluate_title_left">
						<view class="evaluate_title_left_1"></view>
						<view class="evaluate_title_left_2">课程评价（{{detailsInfo.comment_nums}}）</view>
					</view>
					<view class="evaluate_title_right">
						<text>查看全部</text>
						<u-icon name="arrow-right" color="#666" size="24"></u-icon>
					</view>
				</view>
				<view class="evaluate_content" v-if="commentList.length">
					<view class="evaluate_item" v-for="(v, k) in commentList" :key="k">
						<view class="evaluate_name">
							<view class="evaluate_img">
								<image :src='v.head_img' mode="aspectFill"></image>
							</view>
							<view class="evaluate_user">
								<view class="evaluate_user_name">
									<view class="evaluate_user_name_1">{{v.user_nickname}}</view>
									<view class="">
										<u-rate :disabled="true" :count="5" v-model="v.course_spec_stars"
											active-color="#FC5830" inactive-color="#C1C1C1" gutter="0"
											size="20"></u-rate>
									</view>
								</view>
								<view class="evaluate_user_date">
									{{v.create_time}}
								</view>
							</view>
						</view>
						<view class="evaluate_text">{{v.content}}</view>
						<view class="evaluate_imgs" v-if="v.images.length > 0">
							<image v-for="(v1, k1) in v.images" :key="k1" class="evaluate_imgs_1" :src='v1'
								mode="aspectFill" @tap.stop="previewImage(k1, v.images)"></image>
						</view>
					</view>
				</view>
				<view class="evaluate_title" style="border: 0;">
					<view class="evaluate_title_left">
						<view class="evaluate_title_left_1"></view>
						<view class="evaluate_title_left_2">课程简介</view>
					</view>
					<view class="evaluate_title_right">
					</view>
				</view>
				<view class="introduction_content">
					<u-parse :html="detailsInfo.content"></u-parse>
				</view>
				<view v-if="data_type == 1" class="yuyue_btn" @tap.stop="appointmentNow">
					<text>立即预约</text>
				</view>
				
				<view v-if="data_type == 2"
					class="flex flex-wrap align-center justify-between benben-position-layout flex shoppingCartSettlement_flex_6">
					<view class='flex flex-wrap align-center shoppingCartSettlement_fd6_0'>
						<text>总计：</text>
						<text class='shoppingCartSettlement_fd6_0_c1'>￥</text>
						<view class='flex-wrap align-center shoppingCartSettlement_fd6_0_c2'>
							<text
								class=' shoppingCartSettlement_price1_fd6_0_c2'>{{ detailsInfo.price | frontPrice }}</text>
							<text
								class=' shoppingCartSettlement_price2_fd6_0_c2'>{{ detailsInfo.price | laterPrice }}</text>
						</view>
					</view>
					<button class='shoppingCartSettlement_fd6_1' @tap.stop="payNow">立即购买</button>
				</view>
			</block>
			<view style="height: 88rpx;"></view>
		</view>
		
		
		<!---规格flex布局结束-->
		<benben-popup v-model="popupShow1653961165769" :mask="true" mode='bottom'>
			<!---规格弹窗flex布局开始-->
			<view class="flex flex-direction flex-wrap align-stretch benben-flex-layout commoDity_flex_6">
				<view class='flex flex-direction flex-wrap align-stretch commoDity_fd6_0'>
					<view class='flex flex-wrap align-center commoDity_fd6_0_c0'>
						<image class='commoDity_fd6_0_c0_c0' mode="aspectFill" :src='swiperList[0]'>
						</image>
						<view class='flex flex-wrap align-center flex-sub' style="transform: translateY(-24rpx);">
							<view class='flex flex-direction flex-wrap align-stretch flex-sub'>
								<view class="flex align-center">
									<text class='shoppingCartSettlement_fd2_0_c3_c4_c1' style="font-weight: bold !important;">￥</text>
									<view class='shoppingCartSettlement_fd2_0_c3_c4_c2' style="font-weight: bold !important;">
										<text class=' shoppingCartSettlement_price1_fd2_0_c3_c4_c2'>{{ detailsInfo.price | frontPrice }}</text>
										<text class=' shoppingCartSettlement_price2_fd2_0_c3_c4_c2'>{{ detailsInfo.price | laterPrice }}</text>
									</view>
									<text class='shoppingCartSettlement_fd2_0_c3_c4_c1' style="font-weight: bold !important;">/节</text>
								</view>
							</view>
							<view class="close-box">
								<text class="cuIcon-close" @tap="popupShow1653961165769=false"></text>
							</view>
						</view>
					</view>
					<view class='flex  align-start commoDity_fd6_0_c3'>
						<text class='commoDity_fd6_0_c3_c0'>购买节数（{{detailsInfo.min_buy_nums}}节起购）</text>
						<view class="flex align-center justify-center" style="flex-direction: column;">
							<uni-number-box v-model="buyNum" :min="detailsInfo.min_buy_nums" :step="1" :max="100"></uni-number-box>
							<!-- <uni-number-box  :min="1" :step="1" v-model="buyNum"></uni-number-box> -->
							<!-- <view v-if="goodData.max_buy_num-0"
								style="padding: 24rpx;margin:0 0 0 auto;width:max-content;color:#62889B;">
								此商品限购{{goodData.max_buy_num}}件</view> -->
						</view>
					</view>
					<button class='commoDity_fd6_0_c4' @click="submitOrder">确认购买</button>
				</view>
			</view>
			<!---规格弹窗flex布局结束-->
		</benben-popup>
		
	</view>
</template>
<script>
	import {
		validate
	} from '@/common/utils/validate.js'
	import recommend from "@/components/reservation/recommend.vue"
	export default {
		components: {
			recommend
		},

		data() {
			return {
				"popupShow1653961165769": false,
				"buyNum": 1,
				"value": 4,
				"list": [],
				"page": 1,
				"is_pull": true,
				"last_page": 1,
				"status": 'loadmore',
				"iconType": 'flower',
				"loadText": {
					loadmore: '轻轻上拉',
					loading: '努力加载中',
					nomore: '我也是有底线的'
				},
				"isShow": true,
				"aid": "",
				"detailsInfo": {},
				"swiperList": [], // 轮播图
				"swiperIndex": 1,
				"commentList": [], // 评论列表
				"staff_info": [], // 教练信息
				"label": [], // 课程标签
				"data_type": "1",  // 1预约课程  2推荐课程购买
				"coachCourse": [],  // 教练相关课程
			};
		},
		computed: {
			themeColor() {
				return this.$store.getters.themeColor
			},

		},
		watch: {},
		onLoad(options) {
			let {
				aid,
				data_type
			} = options
			if (aid !== undefined) this.aid = aid;
			if (data_type !== undefined) this.data_type = data_type;
			this.getDetails();
			
			uni.$on('selectCoachInfo', res => {
				// console.log(res);
				this.staff_info = res;
				this.detailsInfo.staff_id = res.aid;
				this.getCoachCourse();
				this.$forceUpdate();
			})
		},
		onUnload() {
			uni.$off('selectCoachInfo');
		},
		onReady() {

		},
		onShow() {

		},
		onHide() {

		},
		onResize() {

		},
		// 下拉刷新
		onPullDownRefresh() {
			
		},
		// 上拉加载
		onReachBottom() {
			
		},
		onPageScroll(e) {

		},
		methods: {
			getDetails() {
				this.$api.post(global.API_VERSION + '65b74a86b08f8', {
					course_id: this.aid
				}).then(res => {
					console.log(res);
					this.isShow = false;
					if (res.data.code == 1) {
						this.detailsInfo = res.data.data;
						this.swiperList = res.data.data.images;
						this.commentList = res.data.data.comment_info;
						this.staff_info = res.data.data.staff_info;
						this.label = res.data.data.label;
						if (this.data_type == 2 && this.detailsInfo.course_type == 3) {
							this.buyNum = this.detailsInfo.min_buy_nums;
						}
						if (this.data_type == 2 && this.detailsInfo.course_type == 3) {
							this.getCoachCourse();
						}
					} else {
						this.$message.info(res.data.msg);
					}
				})
			},
			// 教练关联的课程  post65b7499d28032
			getCoachCourse() {
				this.$api.post(global.apiUrls.post65b7499d28032, {
					staff_id: this.detailsInfo.staff_id
				}).then(res => {
					if (res.data.code == 1) {
						this.coachCourse = res.data.data;
					} else {
						this.$message.info(res.data.msg);
					}
				})
			},
			previewImage(index, url) {
				uni.previewImage({
					current: index,
					urls: url,
				})
			},
			// 立即预约
			appointmentNow() {
				uni.setStorageSync('staff_info', this.staff_info);
				uni.navigateTo({
					url: '/pages/shouye/oneAppointment/reservation?aid=' + this.aid + '&course_type=' + this.detailsInfo.course_type
				})
			},
			payNow() {
				if (this.detailsInfo.course_type == 3) {
					this.popupShow1653961165769 = true;
				} else {
					uni.navigateTo({
						url: '/pages/shouye/oneAppointment/shoppingCartSettlement?aid=' + this.aid + '&staff_id=' + this.detailsInfo.staff_id + '&nums=' + this.buyNum + '&course_type=' + this.detailsInfo.course_type
					})
				}
			},
			// 立即购买
			submitOrder() {
				// if (this.buyNum < this.detailsInfo.min_buy_nums) {
				// 	this.popupShow1653961165769 = true;
				// } else {
				// 	uni.navigateTo({
				// 		url: '/pages/shouye/oneAppointment/shoppingCartSettlement?aid=' + this.aid + '&staff_id=' + this.detailsInfo.staff_id + '&nums=' + this.buyNum
				// 	})
				// }
				if (this.buyNum < this.detailsInfo.min_buy_nums) {
					this.$message.info('购买节数小于起始购买节数');
					return;
				}
				this.popupShow1653961165769 = false;
				uni.navigateTo({
					url: '/pages/shouye/oneAppointment/shoppingCartSettlement?aid=' + this.aid + '&staff_id=' + this.detailsInfo.staff_id + '&nums=' + this.buyNum + '&course_type=' + this.detailsInfo.course_type
				})
			},
		}
	};
</script>
<style lang="scss" scoped>
	.coach_list {
		padding: 0rpx 32rpx;
		background: #fff;
		.coach_item {
			width: 100%;
			display: flex;
			align-items: center;
			padding: 0rpx 0rpx 32rpx;
			// border-bottom: 1rpx solid #eee;
			.select_icon {
				width: 36rpx;
				height: 36rpx;
				margin-right: 24rpx;
				image {
					width: 36rpx;
					height: 36rpx;
				}
			}
			.coach_view {
				width: 100%;
				border-radius: 16rpx;
				display: flex;
				background: #FFFFFF;
				.course_item_left {
					width: 88rpx;
					height: 88rpx;
					
					image {
						width: 100%;
						height: 100%;
						border-radius: 50%;
					}
				}
					
				.course_item_right {
					width: calc(100% - 108rpx);
					margin-left: 20rpx;
					
					.course_item_right_1 {
						display: flex;
						align-items: center;
						justify-content: space-between;
						
						.coach_name {
							font-size: 30rpx;
							text-overflow: ellipsis;
							overflow: hidden;
							display: -webkit-box;
							-webkit-box-orient: vertical;
							-webkit-line-clamp: 1; /* 这里是超出几行省略 */
						}
					}
					.evaluate {
						margin-top: 4rpx;
					}
					.course_item_right_2 {
						margin-top: 16rpx;
						display: flex;
						.course_item_right_2_1 {
							color: #FD9E30;
							font-size: 20rpx;
							background: rgba(255,255,255,0.2);
							padding: 2rpx 16rpx;
							opacity: 1;
							border: 1px solid #FD9E30;
							border-radius: 35rpx;
							margin-right: 16rpx;
						}
					}
				}
			}
		}
	}
	.course_title {
		padding: 32rpx 32rpx;
		background: #fff;

		.course_title_1 {
			font-size: 32rpx;
			font-weight: 500;
			line-height: 46rpx;
		}

		.course_label {
			margin-top: 16rpx;
			display: flex;

			.course_label_item {
				color: #FD9E30;
				font-size: 20rpx;
				background: rgba(255, 255, 255, 0.2);
				padding: 2rpx 16rpx;
				opacity: 1;
				border: 1px solid #FD9E30;
				border-radius: 35rpx;
				margin-right: 16rpx;
			}
		}
	}

	.evaluate_title {
		background: #fff;
		margin-top: 20rpx;
		display: flex;
		justify-content: space-between;
		padding: 32rpx 32rpx 24rpx;
		border-bottom: 1px solid #eee;

		.evaluate_title_left {
			display: flex;
			align-items: center;

			.evaluate_title_left_1 {
				width: 7rpx;
				height: 30rpx;
				border-radius: 4rpx;
				background: #F35D2A;
				margin-right: 16rpx;
			}

			.evaluate_title_left_2 {
				font-size: 32rpx;
				font-weight: 500;
			}
		}

		.evaluate_title_right {
			text {
				font-size: 24rpx;
				color: #999;
				margin-right: 12rpx;
			}
		}
	}

	.evaluate_content {
		background: #FFFFFF;
		padding: 32rpx 32rpx 32rpx;

		.evaluate_item {
			.evaluate_name {
				display: flex;

				.evaluate_img {
					width: 72rpx;
					height: 72rpx;

					image {
						width: 100%;
						height: 100%;
						border-radius: 50%;
					}
				}

				.evaluate_user {
					margin-left: 24rpx;
					width: calc(100% - 96rpx);

					.evaluate_user_name {
						display: flex;
						justify-content: space-between;
						align-items: center;

						.evaluate_user_name_1 {
							font-size: 28rpx;
						}
					}

					.evaluate_user_date {
						font-size: 20rpx;
						color: #666;
						margin-top: 4rpx;
					}
				}
			}

			.evaluate_text {
				font-size: 28rpx;
				margin-top: 24rpx;
			}

			.evaluate_imgs {
				margin-top: 24rpx;
				overflow: hidden;

				.evaluate_imgs_1 {
					width: 226rpx;
					height: 226rpx;
					border-radius: 8rpx;
					margin: 0 4rpx 4rpx 0;
				}

				.evaluate_imgs_1:nth-child(3n+3) {
					margin-right: 0;
				}
			}
		}
	}

	.introduction_content {
		background: #fff;
		padding: 0rpx 32rpx 24rpx;
	}

	.yuyue_btn {
		width: 100%;
		height: 88rpx;
		background: #F35D2A;
		position: fixed;
		left: 0;
		bottom: 0;
		line-height: 88rpx;
		text-align: center;
		font-size: 28rpx;
		color: #fff;
	}

	.index_fd1_0 {
		width: 750rpx;
		height: 750rpx;
		position: relative;

		.play_btn {
			width: 64rpx;
			height: 64rpx;
			position: absolute;
			left: 50%;
			top: 50%;
			transform: translate(-50%, -50%);
		}
	}

	.swiper_num {
		width: 70rpx;
		height: 41rpx;
		background: rgba(0, 0, 0, 0.16);
		border-radius: 21rpx;
		position: absolute;
		right: 24rpx;
		bottom: 26rpx;
		z-index: 10;
		display: flex;
		align-items: center;
		justify-content: center;
		color: #fff;

		.swiper_num_1 {
			font-size: 32rpx;
		}

		.swiper_num_2 {
			font-size: 24rpx;
		}
	}

	.searchye_fd0_0_c1_c1 {
		margin: 0rpx 0rpx 0rpx 16rpx;
		font-size: 24rpx;
		font-weight: 400;
		color: #333;
		flex: 1;
		height: 100%;
		padding: 0 48rpx 0 0;
	}

	.searchye_fd0_0_c1_c0 {
		width: 32rpx;
		height: 32rpx;
		border-radius: 0rpx 0rpx 0rpx 0rpx;
	}

	.searchye_fd0_0_c1 {
		background: #F9F9F9;
		background-size: 100% auto !important;
		border-radius: 36rpx 36rpx 36rpx 36rpx;
		width: 686rpx;
		height: 64rpx;
		margin: 0 32rpx;
		padding: 0 24rpx;
		position: relative;
	}

	.close_btn {
		width: 40rpx;
		height: 40rpx;
		position: absolute;
		top: 50%;
		transform: translateY(-50%);
		right: 16rpx;
	}

	.page {
		width: 100vw;
		overflow-x: hidden;
		min-height: calc(100vh - var(--window-bottom));
		background-size: 100% auto;
		background-color: #f8f8f8;
	}

	.recommendCommodityList_flex_0 {
		width: 750rpx;
		overflow: hidden;
		z-index: 10;
		top: 0rpx;
		background-size: 100% auto;
		background: transparent;
	}

	.recommendCommodityList_fd0_0_c1_c1 {
		font-size: 28rpx;
		font-weight: 400;
		color: var(--benbenFontColor0);
		margin: 0rpx 0rpx 0rpx 16rpx;
		width: 336rpx;
	}

	.recommendCommodityList_fd0_0_c1_c0 {
		width: 32rpx;
		height: 32rpx;
		border-radius: 0rpx 0rpx 0rpx 0rpx;
	}

	.recommendCommodityList_fd0_0_c1 {
		background: #F9F9F9;
		height: 64rpx;
		width: 436rpx;
		border-radius: 34rpx 34rpx 34rpx 34rpx;
		padding: 0rpx 24rpx 0rpx 24rpx;
		margin: 0rpx 0rpx 0rpx 32rpx;
	}

	.recommendCommodityList_fd0_0_c0_c0 {
		font-size: 36rpx;
		font-weight: 500;
		color: #fff;
		width: 50rpx;
	}

	.recommendCommodityList_fd0_0 {
		padding: 0rpx 32rpx 0rpx 32rpx;
		line-height: 88rpx;
		width: 100%;
	}

	.recommendCommodityList_flex_1 {
		background: #FFFFFF;
	}

	.recommendCommodityList_titlefd1_0_c0_c4 {
		margin: 0rpx 68rpx 0rpx 68rpx;
	}

	.recommendCommodityList_titlefd1_0_c0_c5 {
		margin: 0rpx 68rpx 0rpx 68rpx;
	}

	.recommendCommodityList_titleItemfd1_0_c0_c3_c0 {
		// font-size: 28rpx;
		font-weight: 400;
	}

	.recommendCommodityList_titlefd1_0_c0_c3 {
		margin: 0rpx 64rpx 0rpx 64rpx;
		// font-size: 32rpx;
		font-weight: 500;
	}

	.recommendCommodityList_linefd1_0_c0 {
		background: #F35D2A;
		width: 40rpx;
		height: 5rpx;
		top: 84rpx;
		background-size: 100% auto !important;
		border-radius: 3rpx 3rpx 0rpx 0rpx;
	}

	.checkTitlefd1_0_c0 {
		font-weight: 500 !important;
		font-size: 32rpx !important;
		color: #333 !important;
	}

	::v-deep .recommendCommodityList_benbenTabsfd1_0_c0 {
		background: #fff;
		// width: 750rpx;
		height: 90rpx;
		white-space: nowrap;
		text-align: center;
	}

	.recommendCommodityList_fd1_0 {
		// padding: 0rpx 32rpx 0rpx 32rpx;
		justify-content: center;
	}

	.recommendCommodityList_flex_2 {
		background-size: 100% auto;
		padding: 0rpx 24rpx 0rpx 24rpx;
	}

	.recommendCommodityList_fd2_0 {
		background: var(--benbenbgColor1);
	}

	.recommendCommodityList_flex_3 {
		background-size: 100% auto;
		padding: 0rpx 24rpx 0rpx 24rpx;
	}

	.recommendCommodityList_fd3_0_c0_c2_c0 {
		width: 44rpx;
		height: 44rpx;
		border-radius: 0rpx 0rpx 0rpx 0rpx;
	}

	.recommendCommodityList_fd3_0_c0_c2 {
		position: absolute;
		right: 20rpx;
		top: 20rpx;
	}

	.recommendCommodityList_fd3_0_c0_c1_c1_c3 {
		color: #666666;
		font-size: 24rpx;
		font-weight: 400;
		max-width: 45rpx;
		-webkit-line-clamp: 1;
		overflow: hidden;
		text-overflow: ellipsis;
		display: -webkit-box;
		-webkit-box-orient: vertical;
	}

	.recommendCommodityList_fd3_0_c0_c1_c1_c2 {
		width: 32rpx;
		height: 32rpx;
		border-radius: 0rpx 0rpx 0rpx 0rpx;
		margin: 0rpx 13rpx 0rpx auto;
	}

	.recommendCommodityList_fd3_0_c0_c1_c1_c1 {
		color: #666666;
		font-size: 24rpx;
		font-weight: 400;
		margin: 0rpx 0rpx 0rpx 12rpx;
	}

	.recommendCommodityList_fd3_0_c0_c1_c1_c0 {
		width: 40rpx;
		height: 40rpx;
		border-radius: 20rpx;
	}

	.recommendCommodityList_fd3_0_c0_c1_c0 {
		color: #333333;
		font-size: 28rpx;
		font-weight: 500;
		padding: 19rpx 0rpx 24rpx 0rpx;
	}

	.recommendCommodityList_fd3_0_c0_c1 {
		padding: 0rpx 25rpx 0rpx 20rpx;
	}

	.recommendCommodityList_fd3_0_c0_c0 {
		width: 335rpx;
		height: 450rpx;
		border-radius: 0rpx 0rpx 0rpx 0rpx;
	}

	.recommendCommodityList_fd3_0_c0 {
		background: rgba(247, 246, 244, 1);
		padding: 0rpx 0rpx 24rpx 0rpx;
		background-size: 100% auto;
		position: relative;
	}

	.recommendCommodityList_flex_4 {
		background: var(--benbenbgColor1);
		padding: 0rpx 30rpx 0rpx 30rpx;
		background-size: 100% auto !important;
	}

	.recommendCommodityList_fd4_0_c2_1 {
		border: 1px solid #AD3823;
		background: rgba(173, 56, 35, 1);
		border-radius: 32rpx 32rpx 32rpx 32rpx;
		width: 172rpx;
		line-height: 64rpx;
		font-size: 32rpx;
		color: var(--benbenFontColor3);
		height: 64rpx;
	}

	.recommendCommodityList_fd4_0_c2 {
		border: 1px solid #AD3823;
		background: var(--benbenbgColor1);
		border-radius: 32rpx 32rpx 32rpx 32rpx;
		width: 172rpx;
		line-height: 64rpx;
		font-size: 32rpx;
		color: rgba(173, 56, 35, 1);
		height: 64rpx;
	}

	.recommendCommodityList_fd4_0_c1_c1_c1 {
		background: var(--benbenbgColor6);
		width: 1rpx;
		height: 30rpx;
		margin: 0rpx 10rpx 0rpx 10rpx;
		transform: scaleX(0.5);
	}

	.recommendCommodityList_fd4_0_c1_c1_c0_c1 {
		margin: 0rpx 0rpx 0rpx 10rpx;
	}

	.recommendCommodityList_fd4_0_c1_c1 {
		color: #999999;
		font-size: 24rpx;
		line-height: 33rpx;
		font-weight: 400;
	}

	.recommendCommodityList_fd4_0_c1_c0 {
		color: #000000;
		font-size: 32rpx;
		font-weight: 500;
		line-height: 40rpx;
		margin: 0rpx 0rpx 16rpx 0rpx;
	}

	.recommendCommodityList_fd4_0_c0 {
		width: 108rpx;
		height: 108rpx;
		border-radius: 54rpx;
		margin: 0rpx 23rpx 0rpx 0rpx;
	}

	.recommendCommodityList_fd4_0 {
		border-bottom: 1px solid #eee;
		padding: 32rpx 0rpx 32rpx 0rpx;
	}


	.littleTheatre_fd2_0_c1_c2_c0_c0 {
		color: #AD3823;
		font-size: 28rpx;
		font-weight: 400;
	}

	.littleTheatre_fd2_0_c1_c2_c0 {
		background: #FFFFFF;
		width: 144rpx;
		height: 52rpx;
		// transform: translateY(-12rpx);
		position: absolute;
		bottom: 0;
		right: 0;
		border-radius: 24rpx 16rpx 0 0;
	}

	.littleTheatre_fd2_0_c1_c1_c1 {
		color: #333333;
		font-size: 34rpx;
		font-weight: 400;
		margin: 15rpx 0rpx 4rpx 0rpx;
	}

	.littleTheatre_fd2_0_c1_c1_c0 {
		color: #333333;
		font-size: 48rpx;
		font-weight: 400;
	}

	.littleTheatre_fd2_0_c1_c1 {
		margin: 56rpx 0rpx 0rpx 0rpx;
	}

	.littleTheatre_fd2_0_c1_c0 {
		width: 56rpx;
		height: 56rpx;
		border-radius: 0rpx 0rpx 0rpx 0rpx;
		position: absolute;
		left: 24rpx;
		top: 24rpx;
	}

	.littleTheatre_fd2_0_c1 {
		// background: url(https://www.guochaoxiaoju.com/uploads/mini/514.png) no-repeat;
		background-size: 100% 220rpx;
		background-repeat: no-repeat;
		position: relative;
		margin: 0rpx 0rpx 24rpx 0rpx;
		height: 220rpx;
	}

	
	
	
	.commoDity_flex_6 {
		border-radius: 24rpx 24rpx 0rpx 0rpx;
		padding: 100rpx 0rpx 0rpx 0rpx;
	}


	.commoDity_fd6_0 {
		background: #fff;
		background-size: 100% !important;
		background-size: 100% auto !important;
		border-radius: 24rpx 24rpx 0rpx 0rpx;
		max-height: 1000rpx;
	}

	.commoDity_fd6_0_c0 {
		margin: 30rpx 32rpx 0rpx 32rpx;
	}

	.commoDity_fd6_0_c0_c0 {
		width: 200rpx;
		height: 200rpx;
		border-radius: 16rpx 16rpx 16rpx 16rpx;
		margin: -80rpx 24rpx 0rpx 0rpx;
	}

	.commoDity_fd6_0_c0_c1_c0_c0_c0 {
		font-size: 40rpx;
		font-weight: 700;
		color: #EF3A3A;
		margin: 0rpx 8rpx 0rpx 0rpx;
		word-wrap: break-word;
	}

	.commoDity_fd6_0_c0_c1_c0_c0_c0_1 {
		font-size: 28rpx;
		font-weight: 700;
		color: #EF3A3A;
		margin: 0rpx;
		word-wrap: break-word;
	}

	.commoDity_fd6_0_c0_c1_c0_c0_c1 {
		font-weight: 400;
		color: rgba(51, 51, 51, 1);
		font-size: 22rpx;
		line-height: 28rpx;
		word-wrap: break-word;
	}

	.commoDity_fd6_0_c0_c1_c0_c1 {
		margin: 0rpx 0rpx 8rpx 0rpx;
		transform: translateY(4rpx);
	}

	.commoDity_fd6_0_c0_c1_c0_c1_c0 {
		word-wrap: break-word;
	}

	.commoDity_fd6_0_c0_c1_c0_c1_c1 {
		word-wrap: break-word;
	}

	.commoDity_fd6_0_c0_c1_c0_c2_c0 {
		word-wrap: break-word;
		font-size: 24rpx;
	}

	.commoDity_fd6_0_c0_c1_c0_c2_c1 {
		word-wrap: break-word;
		font-size: 24rpx;
	}

	.commoDity_fd6_0_c0_c1_c0_c2_c2 {
		word-wrap: break-word;
		font-size: 24rpx;
	}

	.commoDity_fd6_0_c0_c1_c1 {
		width: 28rpx;
		height: 28rpx;
		border-radius: 0rpx 0rpx 0rpx 0rpx;
	}

	.commoDity_fd6_0_c1 {
		margin: 32rpx 32rpx 0rpx 32rpx;
	}

	.commoDity_fd6_0_c1_c0 {
		font-size: 28rpx;
		font-weight: 500;
		color: rgba(51, 51, 51, 1);
		margin: 0rpx 0rpx 24rpx 0rpx;
		word-wrap: break-word;
	}

	.commoDity_fd6_0_c1_c1_c0 {
		border: 1px solid #AD3823;
		background: #FFFFFF;
		background-size: 100% !important;
		width: 144rpx;
		height: 64rpx;
		border-radius: 32rpx 32rpx 32rpx 32rpx;
		margin: 0rpx 24rpx 24rpx 0rpx;
	}

	.commoDity_fd6_0_c1_c1_c0_c0 {
		font-size: 28rpx;
		font-weight: 500;
		color: #AD3823;
		word-wrap: break-word;
	}

	.commoDity_fd6_0_c1_c1_c1 {
		border: 1px solid #F8F8F8;
		background: #F8F8F8;
		background-size: 100% !important;
		width: 144rpx;
		height: 64rpx;
		border-radius: 32rpx 32rpx 32rpx 32rpx;
		margin: 0rpx 24rpx 24rpx 0rpx;
		float: left;
	}

	.is_select {
		border: 1px solid #F35D2A;
		background: #FFF0ED;
		background-size: 100% !important;
		width: 144rpx;
		height: 64rpx;
		border-radius: 32rpx 32rpx 32rpx 32rpx;
		margin: 0rpx 24rpx 24rpx 0rpx;
		float: left;
		color: #F35D2A !important;
	}

	.commoDity_fd6_0_c1_c1_c1_c0 {
		font-size: 28rpx;
		font-weight: 400;
		// color: rgba(51, 51, 51, 1);
		word-wrap: break-word;
	}

	.commoDity_fd6_0_c2 {
		margin: 24rpx 32rpx 0rpx 32rpx;
	}

	.commoDity_fd6_0_c2_c0 {
		font-size: 32rpx;
		font-weight: 500;
		color: rgba(51, 51, 51, 1);
		margin: 0rpx 0rpx 24rpx 0rpx;
		word-wrap: break-word;
	}

	.commoDity_fd6_0_c2_c1_c0 {
		border: 1px solid #AD3823;
		background: #FFFFFF;
		background-size: 100% !important;
		width: 144rpx;
		height: 64rpx;
		border-radius: 32rpx 32rpx 32rpx 32rpx;
		margin: 0rpx 24rpx 24rpx 0rpx;
	}

	.commoDity_fd6_0_c2_c1_c0_c0 {
		font-size: 28rpx;
		font-weight: 500;
		color: #AD3823;
		word-wrap: break-word;
	}

	.commoDity_fd6_0_c2_c1_c1 {
		border: 1px solid #BFBFBF;
		background: #FFFFFF;
		background-size: 100% !important;
		width: 144rpx;
		height: 64rpx;
		border-radius: 32rpx 32rpx 32rpx 32rpx;
		margin: 0rpx 24rpx 24rpx 0rpx;
	}

	.commoDity_fd6_0_c2_c1_c1_c0 {
		font-size: 28rpx;
		font-weight: 400;
		color: rgba(51, 51, 51, 1);
		word-wrap: break-word;
	}

	.commoDity_fd6_0_c3 {
		margin: 52rpx 32rpx 68rpx 32rpx;
	}

	.commoDity_fd6_0_c3_c0 {
		margin: 0rpx auto 0rpx 0rpx;
		font-size: 28rpx;
		font-weight: 500;
		color: rgba(51, 51, 51, 1);
		word-wrap: break-word;
	}

	::v-deep .commoDity_numberBoxInputfd6_0_c3_c1 {
		border: 1px solid #DCDCDC;
		background: #fff;
		background-size: 100% !important;
		width: 74rpx;
		height: 50rpx;
		text-align: center;
		color: #323232;
		font-size: 28rpx;
	}

	.commoDity_fd6_0_c3_c1_c0 {
		height: 50rpx;
		width: 52rpx;
		transform: translateY(5rpx);
	}

	.commoDity_fd6_0_c3_c1_c2 {
		height: 50rpx;
		width: 52rpx;
		transform: translateY(5rpx);
	}

	.commoDity_fd6_0_c4 {
		background: #F35D2A;
		background-size: 100% !important;
		border-radius: 44rpx;
		font-size: 32rpx;
		color: #fff;
		width: 686rpx;
		height: 80rpx;
		line-height: 80rpx;
		font-weight: 500;
		margin: 0 32rpx 32rpx;
	}

	.close-box {
		width: 40rpx;
		height: 40rpx;
		border-radius: 50%;
		background-color: rgba(0, 0, 0, 0.1);
		display: flex;
		align-items: center;
		justify-content: center;
		color: #999999;
		font-size: 28rpx;
		font-weight: bold;
		margin: 0 0 auto 0;
	}

	::v-deep .uni-numbox__minus,
	::v-deep .uni-numbox__plus {
		background-color: transparent !important;
	}

	::v-deep .uni-numbox__value {
		background-color: #F7F7F7;
	}



	.otherFollow_fd1_1_c2_2 {
		border: 1px solid #62889B;
		background: #F8F8F8;
		border-radius: 32rpx 32rpx 32rpx 32rpx;
		width: 172rpx;
		line-height: 64rpx;
		font-size: 32rpx;
		color: rgba(98, 136, 155, 1);
		height: 64rpx;
	}

	.otherFollow_fd1_1_c2_1 {
		border: 1px solid #AD3823;
		background: var(--benbenbgColor2);
		border-radius: 32rpx 32rpx 32rpx 32rpx;
		width: 172rpx;
		line-height: 64rpx;
		font-size: 32rpx;
		color: var(--benbenFontColor3);
		height: 64rpx;
	}

	.otherFollow_fd1_1_c2 {
		border: 1px solid #AD3823;
		background: #F8F8F8;
		border-radius: 32rpx 32rpx 32rpx 32rpx;
		width: 172rpx;
		line-height: 64rpx;
		font-size: 32rpx;
		color: var(--benbenFontColor4);
		height: 64rpx;
	}

	.otherFollow_fd1_1_c1_c1_c1 {
		background: var(--benbenbgColor6);
		width: 1rpx;
		height: 30rpx;
		margin: 0rpx 10rpx 0rpx 10rpx;
		transform: scaleX(0.5);
	}

	.otherFollow_fd1_1_c1_c1_c0_c1 {
		margin: 0rpx 0rpx 0rpx 10rpx;
	}

	.otherFollow_fd1_1_c1_c1 {
		color: #999999;
		font-size: 24rpx;
		line-height: 33rpx;
		font-weight: 400;
	}

	.otherFollow_fd1_1_c1_c0 {
		color: #000000;
		font-size: 32rpx;
		font-weight: 500;
		line-height: 40rpx;
		margin: 0rpx 0rpx 16rpx 0rpx;
	}

	.otherFollow_fd1_1_c0 {
		width: 108rpx;
		height: 108rpx;
		border-radius: 54rpx;
		margin: 0rpx 23rpx 0rpx 0rpx;
	}

	.otherFollow_fd1_1 {
		border-bottom: 1px solid #eee;
		padding: 32rpx 0rpx 32rpx 0rpx;
	}
	
	
	.shoppingCartSettlement_flex_6 {
		background: #fff;
		width: 750rpx;
		height: 88rpx;
		overflow: hidden;
		z-index: 10;
		bottom: calc(0rpx + var(--window-bottom));
		background-size: 100% auto !important;
	}
	
	.shoppingCartSettlement_fd6_1 {
		background: #F35D2A;
		font-size: 32rpx;
		color: #fff;
		line-height: 90rpx;
		padding: 0rpx 64rpx 0rpx 64rpx;
		font-weight: 500;
		width: 280rpx;
		height: 88rpx;
		border-radius: 0rpx 0rpx 0rpx 0rpx;
	}
	
	.shoppingCartSettlement_price2_fd6_0_c2 {
		font-size: 22rpx;
	}
	
	.shoppingCartSettlement_price1_fd6_0_c2 {
		font-size: 32rpx;
	}
	
	.shoppingCartSettlement_fd6_0_c2 {
		font-weight: 700;
		color: #EA3D1A;
	}
	
	.shoppingCartSettlement_fd6_0_c1 {
		line-height: 36rpx;
		font-size: 20rpx;
		font-weight: 700;
		color: #EA3D1A;
	}
	
	.shoppingCartSettlement_fd6_0 {
		margin: 0rpx 0rpx 0rpx 24rpx;
	}
	
	
	.shoppingCartSettlement_price2_fd2_0_c3_c4_c2 {
		font-size: 22rpx;
	}
	
	.shoppingCartSettlement_price1_fd2_0_c3_c4_c2 {
		font-size: 32rpx;
	}
	
	.shoppingCartSettlement_fd2_0_c3_c4_c2 {
		color:  #EA3D1A;
		font-weight: 500;
		line-height: 37rpx;
		font-size: 28rpx;
	}
	
	.shoppingCartSettlement_fd2_0_c3_c4_c1 {
		font-size: 22rpx;
		font-weight: 500;
		color:  #EA3D1A;
		line-height: 37rpx;
	}
	
	.shoppingCartSettlement_fd2_0_c3_c4_c0_c3 {
		margin: 0rpx 0rpx 0rpx 15rpx;
	}
	
	.shoppingCartSettlement_fd2_0_c3_c4_c0 {
		font-size: 24rpx;
		font-weight: 500;
		color: #666666;
	}
	
	.shoppingCartSettlement_fd2_0_c3_c4 {
		// margin: 24rpx 0rpx 0rpx 0rpx;
	}
</style>